const org={
    meta:{title:"组织架构"},
    path:"/organization",
    component:()=>import("@/views/org/container.vue"),
    children:[
        {
            meta:{title:"组织架构", 
             url:"/organization",},
            path:"",
            component:()=>import("@/views/org/index.vue"),
            
        },
        {
            meta:{title:"新增一级组织",
            url:"/organization"},
            path:"/organization/add",
            component:()=>import("@/views/org/addTreeOrg.vue"),
        },
        {
            meta:{title:"新增组织",
            url:"/organization"},
            path:"/organization/add/:id",
            component:()=>import("@/views/org/addTreeOrg.vue"),
        },
        {
            meta:{title:"职务列表",
            url:"/organization/zhiwu"},
            path:"/organization/zhiwu",
            component:()=>import("@/views/org/zhiwu.vue"),
        },
        {
            meta:{title:"用户列表",
            url:"/organization/user"},
            path:"/organization/user",
            component:()=>import("@/views/org/users.vue"),
        },
        {
            meta:{title:"新增职务",
            url:"/organization/zhiwu"},
            path:"/organization/zhiwu/add",
            component:()=>import("@/views/org/zhiwuAdd.vue"),
        },
         {
            meta:{title:"职务详情",
            url:"/organization/zhiwu"},
            path:"/organization/zhiwu/detail/:id",
            component:()=>import("@/views/org/zhiwuDetail.vue"),
        },
        {
            meta:{title:"新增用户",
            url:"/organization/user"},
            path:"/organization/user/add",
            component:()=>import("@/views/org/user/add.vue"),
        },
        


    ]
}

export default org